home *** CD-ROM | disk | FTP | other *** search
/ The Games Machine 48 / NEW.iso / Temi / Road Rash / RoadRashB.exe / begin.bat < prev    next >
DOS Batch File  |  1998-07-21  |  808b  |  37 lines

  1. REM DO NOT EDIT!
  2. @echo off
  3. cls
  4.  
  5. if exist c:\progra~1\plus!\roadrash\roadra~1.the goto exist_folder
  6. goto makedir
  7.  
  8. :makedir
  9. md c:\progra~1\plus!\RoadRash
  10. goto copyfiles
  11.  
  12. :copyfiles
  13. echo Please wait....
  14. copy *.* c:\progra~1\plus!\roadrash >nul
  15. goto check_file
  16.  
  17. :check_file
  18. if not exist c:\progra~1\plus!\roadrash\Install.bat goto no_batfile
  19. call c:\progra~1\plus!\roadrash\Install.bat
  20. goto end
  21.  
  22. :no_batfile
  23.     echo.
  24.     echo Cannot find the file Install.bat 
  25.     echo You have to run the self-extractor by itself and not from inside Winzip
  26.     goto end
  27.  
  28. :exist_folder
  29.     echo Folder C:\Program Files\Plus!\RoadRash already exists!
  30.     echo Copy and overwrite all files ?
  31.     echo 1:Yes
  32.     echo 2:No and Exit
  33.     choice /n/c:12 Select :
  34.     if errorlevel 2 goto end
  35.     if errorlevel 1 goto copyfiles
  36. :end
  37.